<template>
  <div id="app">
    <Loading :isShow="isShow"></Loading>
    <Head/>
    <router-view></router-view>
    <Foot/>
  </div>
</template>

<script>
import Head from './components/head.vue'
import Foot from './components/foot.vue'
import Loading from './components/loading.vue'
import './assets/common.css'

export default {
  name: 'app',
  data(){
    return {
      isShow:false
    }
  },
  components: {
    Head,
    Foot,
    Loading
  },
  methods:{
    show(){
      this.isShow = true;
    },
    hide(){
      this.isShow = false;
    }
  }
}
</script>

<style>
#app {
  font-family: 'Microsoft Yahei';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
</style>
